package com.sdweizan.sdk.bytedance.bean.distribution;

import com.alibaba.fastjson.annotation.JSONField;
import com.sdweizan.sdk.bytedance.bean.BdBaseRequest;
import com.sdweizan.sdk.bytedance.constants.BdConstants;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class BdQueryReturnRequest implements BdBaseRequest {
  @JSONField(name = "app_id")
  private String appId;

  @JSONField(name = "return_no")
  private String returnNo;

  @JSONField(name = "out_return_no")
  private String outReturnNo;

  @JSONField(name = "sign")
  private String sign;

  @JSONField(name = "thirdparty_id")
  private String thirdpartyId;

  @Override
  public String requestUri() {
    return BdConstants.API_HOST + "/api/apps/ecpay/v1/query_return";
  }
}
